@import "./common.scss";

/* HTML元素基础样式 */
* {
  margin: 0;
  padding: 0;
}
body {
    font-family: $fonts;
    font-size: 15px;
    background-color: $light_gray;
    // background: url("http://images2015.cnblogs.com/blog/949746/201704/949746-20170429201717350-1262896807.jpg") no-repeat;
    // background-attachment: fixed; //背景固定不跟随滚动
    // background-size: cover;
}
ul {
    list-style: none;
    padding: 0;
}
a {
  $a_color:#464646;
  text-decoration: none;
  color: $a_color;
  &:hover {
    color: $a_color;
  }
  &:visited {
    color: $a_color;
  }
}
h3 {
  font-size: 15px;
  font-weight: 700;
}
input,textarea {
  outline: 0;
  border: 1px solid #ddd;
  &:focus {
    border: 1px solid $base_color;
  }
}
//markdown代码块
.cnblogs-markdown code {
  font-family: "Consolas",sans-serif;
  font-size: 14px;
  @include border_radius(4px);
  padding: 3px 4px;
  color: #c7254e;
  background-color: #f9f2f4;
  vertical-align: middle;
}

.cnblogs-markdown pre  {
  margin-top: 10px;
  margin-bottom: 10px;
  code {
    display: block;
    margin: auto;
    height: auto;
    line-height: normal;
  }
}

kbd {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.4;
  display: inline-block;
  margin: 0 .1em;
  padding: .1em .6em;
  color: #333;
  border: 1px solid #ccc;
  @include border_radius(3px);
  background-color: #f7f7f7;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .2), 0 0 0 2px #fff inset;
  text-shadow: 0 1px 0 #fff;
}
